*** Settings ***
Library  Selenium2Library
Library    DatabaseLibrary    # 导入数据管理库

*** Keywords ***
浏览器等待时间
    set browser implicit wait  20
打开平台登录页
    open browser  ${URL}  chrome
窗口最大化
    maximize browser window
连接Oracle
    # 使用cx_oracle连接Oracle数据库，连接配置'用户名','密码','IP:端口/ORCL'
    connect to database using custom params  cx_Oracle  'dhcc27','dhcc270716','172.28.28.168:1521/ORCL'
连接Mysql
    # 使用pymysql连接MySQL数据库
    connect to database using custom params  pymysql  database='dhcc12',user='dhcc12',password='dhcc120924',host='172.28.28.169',port=3306
断开数据库
    disconnect from database


*** Variables ***
${URL}  http://172.28.30.2:9000/platform/#/login
${USERNAME}  lee
${PWD}  111111-a